package org.dromara.system.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.dromara.common.mybatis.core.page.TableDataInfo;
import org.dromara.system.domain.XfNews;
import org.dromara.system.domain.XfRatingDimension;
import org.dromara.system.domain.query.XfNewsQuery;
import org.dromara.system.domain.query.XfRatingDimensionQuery;
import org.dromara.system.domain.vo.XfNewsVo;
import org.dromara.system.domain.vo.XfRatingDimensionVo;

import java.util.List;

public interface IXfRatingDimensionService extends IService<XfRatingDimension> {

    TableDataInfo<XfRatingDimensionVo> selectPageXfRatingDimensionList(XfRatingDimensionQuery query);

    List<XfRatingDimensionVo> selectXfRatingDimensionList(XfRatingDimensionQuery query);


    XfRatingDimensionVo selectXfRatingDimensionById(Long id);


    boolean insertXfRatingDimension(XfRatingDimension ratingDimension);


    boolean updateXfRatingDimension(XfRatingDimension ratingDimension);


    int deleteXfRatingDimensionById(Long id);


    int deleteXfRatingDimensionByIds(Long[] ids);
}
